package net.wofly.sale.exchange.domain;


import lombok.AllArgsConstructor;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 兑换库存
 * <ul>
 * 	<li>销售兑换后，全部放入库存中，可用于后面的订单的消费</li>
 * 	<li></li>
 * </ul>
 * @author lign
 * @version 1.0
 * @created 28-九月-2017 21:36:37
 */
@Data
@AllArgsConstructor
@Entity
@Table(name = "sale_exchange_exchangestock")
public class ExchangeStock {

	/**
	 * 存销售的employeeID ，每个销售只会有一条记录
	 */
	@Id
	private String exchangeStockID;
	private Long modifyDate;
	/**
	 * 兑换总卡数
	 */
	private Integer num;

	public ExchangeStock(){

	}

}